DisplacementElement.CanElementsBeDisplaced
Description:
Indicates if elements can be assigned to a new DisplacementElement.
Indicates if elements can be assigned to a new DisplacementElement.
Remarks:
A necessary condition is that isAllowedAsDisplacedElement returns true for each individual element id. In addition, if isElementDisplaced must return the same value for all the specified element ids.
A necessary condition is that isAllowedAsDisplacedElement returns true for each individual element id. In addition, if isElementDisplaced must return the same value for all the specified element ids.
Overloads (2):
CanElementsBeDisplaced(View,ICollection[ElementId],ElementId)
public static bool CanElementsBeDisplaced(
View view,
ICollection<ElementId> elementIds,
out ElementId commonDisplacedElementId
)
-
viewThe view.
-
elementIdsThe element ids.
-
commonDisplacedElementIdIf this method returns true, then this is the element id of a DisplacementElement which lists all of elemIds among its displaced elements.
Return Value
bool
Returns true if the specified element ids can be assigned to a new DisplacementElement.
-
A non-optional argument was NULL